<HTML>
<HEAD>
<title>Volume.assertZeroes - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">org.mapdb.volume</a>&nbsp;/&nbsp;<a href="index.html">Volume</a>&nbsp;/&nbsp;<a href=".">assertZeroes</a><br/>
<br/>
<h1>assertZeroes</h1>
<a name="org.mapdb.volume.Volume$assertZeroes(kotlin.Long, kotlin.Long)"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">assertZeroes</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.volume.Volume$assertZeroes(kotlin.Long, kotlin.Long)/startOffset">startOffset</span><span class="symbol">:</span>&nbsp;<span class="identifier">Long</span><span class="symbol">, </span><span class="identifier" id="org.mapdb.volume.Volume$assertZeroes(kotlin.Long, kotlin.Long)/endOffset">endOffset</span><span class="symbol">:</span>&nbsp;<span class="identifier">Long</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/>
<p>Check that all bytes between given offsets are zero. This might cross 1MB boundaries </p>
<h3>Parameters</h3>
<a name="startOffset"></a>
<code>startOffset</code> - <br/>
<br/>
<a name="endOffset"></a>
<code>endOffset</code> - <br/>
<h3>Exceptions</h3>
<a name="DBException.DataCorruption"></a>
<code>DBException.DataCorruption</code> - if some byte is not zero<br/>
<br/>
<br/>
</BODY>
</HTML>
